﻿using MediatR;
using MyMES.Domain.W.Liststructure;
using MyMES.Error;

namespace MyMES.Writer.API.Application.Commends.W.realize
{
    public class UpdateProductionTaskCommands:IRequest<APIResult<ProductionTask>>
    {
        public int ProductionTaskId { get; set; }

        /// <summary>
        /// 任务编号
        /// </summary>
        public string TaskNumber { get; set; }

        /// <summary>
        /// 任务名称
        /// </summary>
        public string TaskName { get; set; }

        /// <summary>
        /// 工作站编号
        /// </summary>
        public string WorkStationNumber { get; set; }

        /// <summary>
        /// 工作站名称
        /// </summary>
        public string WorkStationName { get; set; }

        /// <summary>
        /// 排产数量
        /// </summary>
        public int ScheduledNumber { get; set; }

        /// <summary>
        /// 已生产数量
        /// </summary>
        public int QuantityProduced { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartofProductionTime { get; set; }

        /// <summary>
        /// 生产时长
        /// </summary>
        public string ProductionTime { get; set; }

        /// <summary>
        /// 预计生产时间
        /// </summary>
        public DateTime EstimatedTime { get; set; }

        /// <summary>
        /// 显示颜色
        /// </summary>
        public string DisplayColor { get; set; }

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }=false;
    }
}
